des1=mytest
des2=mytest-static
src=test.c

$(des1):$(src)
	@gcc $^ -o $@ -std=c99
	@echo "dymanic compile $(src) to $(des1)..."
$(des2):$(src)
	@gcc $^ -o $@ -static -std=c99
	@echo "static compile $(src) to $(des2)..."
.PHONY:clean
clean:
	@rm -f $(des1) $(des2)
	@echo "delete $(des1) $(des2)..."
